[INFO] cloning repository https://github.com/aliaksandr-master/rust-common
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aliaksandr-master/rust-common" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliaksandr-master%2Frust-common", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliaksandr-master%2Frust-common'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb25f5deb3fac3b76340598d121f06168fec28d2
[INFO] checking aliaksandr-master/rust-common against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faliaksandr-master%2Frust-common" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/aliaksandr-master/rust-common on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/aliaksandr-master/rust-common
[INFO] finished tweaking git repo https://github.com/aliaksandr-master/rust-common
[INFO] tweaked toml for git repo https://github.com/aliaksandr-master/rust-common written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/aliaksandr-master/rust-common already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 452bfe0c792e6adcb9bc9c40c32cfa2bfa46eb6577b107099d4148460f83975a
[INFO] running `Command { std: "docker" "start" "-a" "452bfe0c792e6adcb9bc9c40c32cfa2bfa46eb6577b107099d4148460f83975a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "452bfe0c792e6adcb9bc9c40c32cfa2bfa46eb6577b107099d4148460f83975a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "452bfe0c792e6adcb9bc9c40c32cfa2bfa46eb6577b107099d4148460f83975a", kill_on_drop: false }`
[INFO] [stdout] 452bfe0c792e6adcb9bc9c40c32cfa2bfa46eb6577b107099d4148460f83975a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] dfae4c6be978c4bc80bf482b15f5a66e2d564cb9af5a130acc8944a60e617bf9
[INFO] running `Command { std: "docker" "start" "-a" "dfae4c6be978c4bc80bf482b15f5a66e2d564cb9af5a130acc8944a60e617bf9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.44
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling serde v1.0.80
[INFO] [stderr]     Checking cfg-if v0.1.6
[INFO] [stderr]    Compiling memchr v2.1.1
[INFO] [stderr]     Checking csv-core v0.1.4
[INFO] [stderr]     Checking csv v1.0.2
[INFO] [stderr]     Checking rust_common v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0412]: cannot find type `Err` in module `io`
[INFO] [stdout]  --> src/aitline/mod.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     IOErr(io::Err),
[INFO] [stdout]   |               ^^^ not found in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: there is an enum variant `std::result::Result::Err`; try using the variant's enum
[INFO] [stdout]   |
[INFO] [stdout] 7 |     IOErr(std::result::Result),
[INFO] [stdout]   |           ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `passengers_file_path` in this scope
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     passengers_file_path = cwd.join("data").join("airline_passengers.csv");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `passengers_file_path` in this scope
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let passgers = load_passengers(passengers_file_path);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Err` in module `io`
[INFO] [stdout]  --> src/aitline/mod.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     IOErr(io::Err),
[INFO] [stdout]   |               ^^^ not found in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: there is an enum variant `std::result::Result::Err`; try using the variant's enum
[INFO] [stdout]   |
[INFO] [stdout] 7 |     IOErr(std::result::Result),
[INFO] [stdout]   |           ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `passengers_file_path` in this scope
[INFO] [stdout]   --> src/main.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 58 |     passengers_file_path = cwd.join("data").join("airline_passengers.csv");
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `passengers_file_path` in this scope
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let passgers = load_passengers(passengers_file_path);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::PathBuf`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path::PathBuf;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/aitline/mod.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |       pub fn from_csv_record (rec: &csv::StringRecord) -> Result<Self, <i32 as FromStr>::Err> {
[INFO] [stdout]    |                                                           ----------------------------------- expected `Result<MonthPassengerStat, ParseIntError>` because of return type
[INFO] [stdout] 31 |           return MonthPassengerStat{
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 32 | |             month_name: rec[0].into(),
[INFO] [stdout] 33 | |             passengers_count: i32::from_str(&rec[1])?
[INFO] [stdout] 34 | |         };
[INFO] [stdout]    | |_________^ expected enum `Result`, found struct `MonthPassengerStat`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<MonthPassengerStat, ParseIntError>`
[INFO] [stdout]             found struct `MonthPassengerStat`
[INFO] [stdout] help: try wrapping the expression in `Ok`
[INFO] [stdout]    |
[INFO] [stdout] 31 ~         return Ok(MonthPassengerStat{
[INFO] [stdout] 32 |             month_name: rec[0].into(),
[INFO] [stdout] 33 |             passengers_count: i32::from_str(&rec[1])?
[INFO] [stdout] 34 ~         });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `LoadingErr`
[INFO] [stdout]   --> src/aitline/mod.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn load_passengers<P: AsRef<Path>>(file_path: P) -> Result<Vec<MonthPassengerStat>, LoadingErr> {
[INFO] [stdout]    |                                                         ------------------------------------------- expected `LoadingErr` because of this
[INFO] [stdout] 49 |     let file = fs::File::open(file_path)?;
[INFO] [stdout]    |                                         ^ the trait `From<std::io::Error>` is not implemented for `LoadingErr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]              <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout]              <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, std::io::Error>>` for `Result<Vec<MonthPassengerStat>, LoadingErr>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/aitline/mod.rs:71:59
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .map(|rec|MonthPassengerStat::from_csv_record(&rec?)?)
[INFO] [stdout]    |              ---------------------------------------------^--
[INFO] [stdout]    |              |                                            |
[INFO] [stdout]    |              |                                            cannot use the `?` operator in a closure that returns `MonthPassengerStat`
[INFO] [stdout]    |              this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, csv::Error>>` is not implemented for `MonthPassengerStat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/aitline/mod.rs:71:61
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .map(|rec|MonthPassengerStat::from_csv_record(&rec?)?)
[INFO] [stdout]    |              -----------------------------------------------^
[INFO] [stdout]    |              |                                              |
[INFO] [stdout]    |              |                                              cannot use the `?` operator in a closure that returns `MonthPassengerStat`
[INFO] [stdout]    |              this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseIntError>>` is not implemented for `MonthPassengerStat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_common` due to 8 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/aitline/mod.rs:31:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |       pub fn from_csv_record (rec: &csv::StringRecord) -> Result<Self, <i32 as FromStr>::Err> {
[INFO] [stdout]    |                                                           ----------------------------------- expected `Result<MonthPassengerStat, ParseIntError>` because of return type
[INFO] [stdout] 31 |           return MonthPassengerStat{
[INFO] [stdout]    |  ________________^
[INFO] [stdout] 32 | |             month_name: rec[0].into(),
[INFO] [stdout] 33 | |             passengers_count: i32::from_str(&rec[1])?
[INFO] [stdout] 34 | |         };
[INFO] [stdout]    | |_________^ expected enum `Result`, found struct `MonthPassengerStat`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected enum `Result<MonthPassengerStat, ParseIntError>`
[INFO] [stdout]             found struct `MonthPassengerStat`
[INFO] [stdout] help: try wrapping the expression in `Ok`
[INFO] [stdout]    |
[INFO] [stdout] 31 ~         return Ok(MonthPassengerStat{
[INFO] [stdout] 32 |             month_name: rec[0].into(),
[INFO] [stdout] 33 |             passengers_count: i32::from_str(&rec[1])?
[INFO] [stdout] 34 ~         });
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `?` couldn't convert the error to `LoadingErr`
[INFO] [stdout]   --> src/aitline/mod.rs:49:41
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub fn load_passengers<P: AsRef<Path>>(file_path: P) -> Result<Vec<MonthPassengerStat>, LoadingErr> {
[INFO] [stdout]    |                                                         ------------------------------------------- expected `LoadingErr` because of this
[INFO] [stdout] 49 |     let file = fs::File::open(file_path)?;
[INFO] [stdout]    |                                         ^ the trait `From<std::io::Error>` is not implemented for `LoadingErr`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait
[INFO] [stdout]    = help: the following other types implement trait `FromResidual<R>`:
[INFO] [stdout]              <Result<T, F> as FromResidual<Result<Infallible, E>>>
[INFO] [stdout]              <Result<T, F> as FromResidual<Yeet<E>>>
[INFO] [stdout]    = note: required because of the requirements on the impl of `FromResidual<Result<Infallible, std::io::Error>>` for `Result<Vec<MonthPassengerStat>, LoadingErr>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/aitline/mod.rs:71:59
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .map(|rec|MonthPassengerStat::from_csv_record(&rec?)?)
[INFO] [stdout]    |              ---------------------------------------------^--
[INFO] [stdout]    |              |                                            |
[INFO] [stdout]    |              |                                            cannot use the `?` operator in a closure that returns `MonthPassengerStat`
[INFO] [stdout]    |              this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, csv::Error>>` is not implemented for `MonthPassengerStat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a closure that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/aitline/mod.rs:71:61
[INFO] [stdout]    |
[INFO] [stdout] 71 |         .map(|rec|MonthPassengerStat::from_csv_record(&rec?)?)
[INFO] [stdout]    |              -----------------------------------------------^
[INFO] [stdout]    |              |                                              |
[INFO] [stdout]    |              |                                              cannot use the `?` operator in a closure that returns `MonthPassengerStat`
[INFO] [stdout]    |              this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, ParseIntError>>` is not implemented for `MonthPassengerStat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_common` due to 8 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "dfae4c6be978c4bc80bf482b15f5a66e2d564cb9af5a130acc8944a60e617bf9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfae4c6be978c4bc80bf482b15f5a66e2d564cb9af5a130acc8944a60e617bf9", kill_on_drop: false }`
[INFO] [stdout] dfae4c6be978c4bc80bf482b15f5a66e2d564cb9af5a130acc8944a60e617bf9
